#ifndef SQUARE_H
#define SQUARE_H
/**
 * @file Square.hpp
 * 
 * This header file contains the prototypes of the functions needed to manipulate a square 
 * object.
 */
#include "Canvas.hpp"
#include "Shape.hpp"
/**
 * This class specifies the manner in which the square object can be implemented.
 */
class Square : public Shape
{
private:
	int left, right, top, bottom;

public:
	//Default constructor
	Square();
	//Constructor with the properties of a shape
	Square( int x, int y, int size, COLORREF color );
	//Destructor
	virtual ~Square();
	//Returns true if coordinance of a point is inside the Square
	virtual bool contains( int x, int y );
	//Draws a square inside the shape boundaries.
	virtual void draw( Canvas& canvas );
	// Sets the corners of a square
	void setCorners();
};

#endif